<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>

  <body>
    <script>
        // const fun=(num1,num2) => {
        //   console.log(num1+num2);
        // }
        // fun(1,3)

          const funn =x => {
            console.log(x+111);
          }
          funn(4)

          const fuun=x => console.log(x*8);
          fuun(5)

          // const ffun= (name) => {
          //   return {uname:name}
          // }
          // console.log(ffun('黎明'));
          const ffun= (name) => ({uname:name})
          console.log(ffun('黎明'));
    </script>
  </body>
</html>
